package xq.gwt.mvc.model;

public interface EntityModel {	
	public String getTitle();
    public String getName();
	public PropertyModel[] getProperties();	
	public CommandModel[] getCommands();
	public void addEntityChangedListener(EntityChangedListener listener);
	public void removeEntityChangedListener(EntityChangedListener listener);
	public String getIdentifier();
	public boolean isValid();
	public PropertyModel getProperty(String name);
	public EntityModel copy()throws Exception;
	public boolean hasRelations();
}
